package com.zzw.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @Project: warehouse
 * @Description: 用户角色表
 * @Author: zzw
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class UserRole {

    @NotNull(message = "[]不能为空")
    private Integer userRoleId;

    private Integer roleId;

    private Integer userId;
}
